VCR webification

ABSTRACT

An apparatus, method and service model are disclosed which simplify conventional methods for schedule recordings of television programs and enable users to control recording equipment from any location via the Internet. Entities connected to computer networks such as the Internet and web-browser software can schedule recordings of television programs and/or operate the recording equipment. In an example scenario, a user who maintains recording equipment at home may utilize the present invention from his or her workplace or vacation place, accesses a service provider website using her/his user name and password, views the a schedule of television programs provided by a broadcaster or other distributor of programming and selects the television programs to be recorded. The application service provider in turn transmits the selected television program information to a computer connected to a later described remote control unit to execute and operate the recording of selected programs. In this manner, the present invention enables anyone with internet access to remotely operate recording equipment to record television programs.

[0001] This application is a continuation in part of U.S. patent application Ser. No. 09/454,178, “Control and Observation of Physical Devices, Equipment and Processes by Multiple Users Over Computer Networks,” filed Dec. 2, 1999, which is co-pending.

FIELD OF THE INVENTION

[0002] The present invention relates broadly to the remote control of signal recording equipment. Specifically, the present invention relates to the control of remotely located recording equipment via a computer network.

BACKGROUND OF THE INVENTION

[0003] Most consumer video/audio recording equipment today such as the video cassette recorder (VCR) is equipped with scheduling features. Scheduling features allow users to schedule recording of television programs based on user-specified time and channels. Most equipment can be controlled by remote control. However, for average users the process of scheduling television program recordings can be cumbersome. The user must be present at the location of recording equipment where a remote control unit is situated within an effective operating distance of the recording device. In the case where the remote control unit transmits commands in the form of infrared signals, the remote control unit must also establish line of sight to the recording equipment. Before operating a timer mechanism in conjunction with the recording equipment, the internal clock of video/audio recording equipment must be set to conform to local time. A user reviews schedule information of television programs to be recorded, such as program date, time and channel. A user typically selects a desired program to be recorded and enters schedule information using the remote control unit into the recording equipment. This step may consist of several key entries on the remote control units, since for every intended consecutive scheduled recording, the user specifies the time to begin recording as well as the time to terminate recording.

[0004] U.S. Pat. Nos. 5,692,2101014 and 5,988,078 to Levine teach implementations of an electronic schedule stored in memory to allow cursor based programming on a conventional video recorder through use of an associated personal computer. The computer communicates with the video recorder via infrared signals of the type used for remote control of the video recorder. Programming schedule information may be provided to the personal computer from a remote database by telephonic communication, broadcast, or use of disposable memories. A remote transmitter connected to the personal computer is used at the time of the recording to send signals to the video recorder to initiate recording of a preselected program, allowing unattended programming memory of the video recorder to initiate recording of a specific channel at a proper time. The method taught by Levine includes the steps of providing at the viewing location a computerized unit having an operator input and a modem; establishing a connection to a wide area network through the modem; transmitting information to a service provider regarding the geographical location of the particular viewing location; and receiving from the service provider information specific to the type of programming available to the particular viewing location. However, neither of the Levine patents address the problem of trying to operate a video recorder from a remote location.

SUMMARY OF THE INVENTION

[0005] The present invention addresses the problems identified above and provides an apparatus, method and service model which simplify conventional methods for schedule recordings of television programs and enable users to control recording equipment from any location via the Internet. Entities connected to computer networks such as the Internet and web-browser software can schedule recordings of television programs and/or operate the recording equipment. In an example scenario, a user who maintains recording equipment at home may utilize the present invention from his or her workplace or vacation place, accesses a service provider website using her/his user name and password, views the a schedule of television programs provided by a broadcaster or other distributor of programming and selects the television programs to be recorded. The application service provider in turn transmits the selected television program information to a computer connected to a later described remote control unit to execute and operate the recording of selected programs. In this manner, the present invention enables anyone with internet access to remotely operate recording equipment to record television programs.

[0006] Another attendant advantage of the present invention is an inexpensive solution to provide global connectivity of the Internet to existing recording equipment. The present invention can be utilized to operate recording equipment such as video cassette recorders, that typically have infrared sensors to receive control commands. Other recording equipment such as DVD recorders, hard drive based video recorders, etc. can also be controlled using the present invention.

BRIEF DESCRIPTION OF THE DRAWINGS

[0007] The forgoing aspects and many of the attendant advantages of the present invention will become more readily apparent in the following detailed description and accompanying drawings, wherein:

[0008]FIG. 1A is a diagrammatic representation of the computer network utilized by the present invention;

[0009]FIG. 1B is a diagrammatic representation in block form of the system architecture of the present invention;

[0010]FIG. 2 illustrates the DNP packet format utilized in the present invention;

[0011]FIG. 3 shows a packet sent from a client process to a lab server;

[0012]FIG. 4 shows a response packet sent from the lab server 112 to a client process;

[0013]FIG. 5 is a flow chart illustrating the logical sequence of steps for the lab server to transmit raw data from physical processes for calculating results based on computational analysis of the raw data;

[0014]FIG. 6 is a flow chart illustrating the logical sequence of steps for the lab server to interpret client instructions, execute the commands and generate responses;

[0015]FIG. 7 is a flowchart illustrating the basic operation of the connection monitor;

[0016]FIG. 8 displays several routing modes that may be performed by the connections server;

[0017]FIG. 9 is a flowchart illustrating the basic operation of the connection handler;

[0018]FIG. 10 is a flowchart illustrating client DNP packet processing;

[0019]FIG. 11 is a diagrammatic representation of a two-dimensional set of DCT components;

[0020]FIG. 12 is a flowchart illustrating the logical sequence of steps executed by the server for performing the encoding process;

[0021]FIG. 13 is a flowchart illustrating the logical sequence of steps executed by the client process for performing the decoding process;

[0022]FIG. 14 illustrates in block diagram form the major components utilized in an alternative embodiment of the present invention;

[0023]FIG. 15 illustrates in block diagram form the remote control device of an alternative embodiment present invention;

[0024]FIG. 16 illustrates another alternative embodiment of the present invention; and

[0025]FIG. 17 illustrates an alternative embodiment of the service model of the present invention.

DETAILED DESCRIPTION

[0026]FIG. 1A shows a computer 10 connected via a computer network such as Internet 50 to computer 60 that manipulates devices in a laboratory. Computers 10, 60 may have a conventional design, incorporating a processor chassis utilizing a central processing unit (CPU), various memory and supporting integrated circuitry. Connected to the processor is a keyboard 12 and monitor 16. A user may control the computer 10 using the keyboard 12 or mouse 18 to manipulate a cursor moved about on the screen of the monitor 14 to make selections in programs executed on the computer 10. Floppy drive 20 and hard disk 22 may also be incorporated in the computers 10, 60.

[0027] Although a desktop type of computer is illustrated, it is to be understood that other forms of computers, such as workstations, laptops, palm tops, dumb terminals, or any computer capable of communicating with other computers may be used in connection with embodiments of the present invention.

[0028] Computers 10, 60 may communicate over the computer network 50 via modem and telephone line. An operating system and browser program may also be included in computers 10, 60 so that a user may access the laboratory. However, other media may also be used, such as a direct connection or high speed data line. The computer network 50, as described above, may be a large and complex system, incorporating a vast number of nodes and components.

[0029] Computer 60 is located at a laboratory where physical processes are to be conducted. For illustrative purposes, the operation of a laser and optical equipment is described herein, but it is to be understood that other types of physical processes may be used in connection with the present invention. An interface 62 is connected to the processor in computer 60 that allows a user to control laser 64. The beam from laser 64 may be directed through various optical equipment 66, which may be adjusted on table 68 by interface 62. In an embodiment of the present invention, interface 62 may use a PCI-GPIB board to control and monitor laser 64. To acquire images of the laser beam that have been processed by optical equipment 66, a CCD detector that transmits digitized images to a IMAQ PCI-1424 board may be used. The optical equipment 66 may be mechanically adjusted and aligned by motorized stages on which the equipment is mounted. To display live pictures of the processes and equipment, an IMAQ PCI-1408 board may be used to digitize the analog video signal from camera 70. Motion of camera 70 may be controlled by a motion control system available through a software application such as LabView, which may be stored and executed on computer 60. Camera 70 is provided with frame grabber 72 to provide video feedback of the physical process, and are controlled by the video server 72, which may be executed on the processor of computer 60. System software on computer 60 may also include IMAQ Vision for G that provides image processing libraries such as a Fast Fourier Transform (FFT) routine to speed up development of live data analysis software.

[0030] Directing attention to FIG. 1B, the system architecture 100 integrates hardware and software that facilitate two-way communication between physical processes 110 to on-line users across computer networks. The system can be divided into several processes based on functionality: physical processes 110, lab server 112, connection server 114, clients 118, database server 120. These processes can be implemented as software programs that are executed in computing devices such as computers. As used herein, physical processes 110 are defined as physical, biological and/or chemical processes or phenomena that can be detected, measured, quantified and/or controlled by electronic devices such as detectors, sensors, motors, power source, etc. to various interfaces such as GPIB, RS-232, PCI, USB, ethernet, etc., the electronic devices that monitor and control the physical processes 110 and communicate with computer 60 that runs the lab server process 112.

[0031] Data from the physical processes 110 are collected by the lab server 112 for purposes of storing into the database via the database server 120 and/or distributing to the clients 118 via the connection server 114. Prior to sending data, the lab server 112 can also perform analysis and transformation of the data such as statistics and FFT computation. The lab server 112 also receives data from the clients 118 such as control commands through the connection server 114. After analyzing these commands, the lab server 112 then passes the commands to the electronic devices or equipment (i.e. laser, motors, detectors, etc.). As shown in FIG. 1B, there are multiple physical processes 110, namely physical process 110-1 and physical process 110-12, as well as multiple lab servers 112-1, 112-2.

[0032] The connection server 114 serves as the distributor of data that accepts, verifies and routes information from data sources to appropriate destinations. The connection server 114 supports full duplex point-to-point and point-to-multipoints data transmissions between the clients 118, lab server 112, and database server 120. Several transmission modes will be discussed below. Additionally, the connection server 114 also monitors the status of network connections throughout the entire process.

[0033] The clients' processes 118 provide user interfaces (UI) for users' input and output functions. The clients' processes 118 are implemented as software programs that can be run on clients' computing devices such as desktop computers. The client also establishes two-way communications with the connection server 114. Data from the connection server 114 are decoded and displayed according to associated formats such as the video, graph, LED displays, etc.

[0034] In a preferred embodiment, communications between the processes above are carried out using a common language, such as Data Network Protocol (DNP). Besides transporting various data types, DNP also carries network and communications related messages between different processes. DNP packet format is also discussed in the later sections.

[0035] The lab server 112 may reside at the location of the physical process 110 to have direct local control of the physical process. The lab server 112 is the process that broadcasts data from the physical process 110 and well as control the physical process 110 based on requests from clients 118. The lab server 112 can be implemented as a multi-threaded software that implements communication functions across computer networks such as the internet 116. To provide universal and reliable communications, all data can be transported using standard connection based network protocols such as Transmission Control Protocol/Internet Protocol (TCP/IP). Each connection (in this case between the lab server process 112, connection server process 114, and clients 118) is commonly called socket that consists of a network or IP address and a port number. However, the data itself and other communication messages are encoded in a format called Data Network Protocol (DNP). In the OSI network model, DNP can be considered as an application layer protocol like HTTP and FTP. The unique design of DNP provides a common language between different processes that enables collaborative environments between multiple users across the internet.

[0036] DNP is designed to carry various types of digital data such as float, integer, Boolean, video and arrays of data. Data is encoded using DNP into one information entity called a packet that has two main sections: the overhead section 205 and instruction section 225. Directing attention to FIG. 2, the DNP packet format is illustrated. The overhead section 205 may contain the following fixed-size fields:

[0037] Packet size 210: the length of the entire packet normally in byte words (8 bits unit).

[0038] Destination ID 212: may contain client ID, lab server ID, connection server ID, all-clients-group ID, all-clients-and-lab-server-group ID, or connection server group ID where the packet is sent.

[0039] Source ID 214: may contain client ID, lab server ID or connection server ID where the packet is originated.

[0040] Instruction number 216: contains the number of instructions following the overhead section 205. For example in FIG. 2, there are N instructions.

[0041] The instruction section 225 may contain a number of instructions. Each instruction can be a specific command or request that contains the following fields.

[0042] Component ID 230: identification number of specific device/equipment for user interface component.

[0043] Command ID 232: identification number of specific command/request to be performed.

[0044] Command Value 234: parameter values used to perform the commands or requests. Based on the associated command/request, the data type of common values can vary (i.e. float data, integer data, video data, array of data). Consequently this field has variable size. Both sender and receiver of the request may have a look-up list of data types associated with the component ID's and command ID's. Hence, the data type information need not be carried in the packet itself. The instruction section may be extended to include component ID's, command ID's and command values 252-262. FIG. 3 shows an example packet sent from a client 118 to a lab server 112 that is a request to change the current value of laser equipment to 45.4 mA. In overhead section 305 there is a packet size section 302, a lab server ID section 304 and a client ID section 306. In instruction section 315 there is a laser ID section 320, a change current value section 322 and the target milliamps 45.4 in section 324.

[0045]FIG. 4 shows a typical response packet from the lab server 112 to all clients 118 to update two of their user interface components: a graph and message board display with a value of 45.4 and a message in message section 456 which reads, “your command has been successfully performed.”

[0046] Two main functions may be performed by the lab server: broadcast data from the physical processes 110; and perform clients' requests and general associated responses. To keep clients 118 up to date with the current states of the physical processes 110, the lab server 112 can broadcast information that is directly collected from the physical processes 110. Data from the physical processes 110 that are encoded in the DNP packet are transmitted to connections server 114 for distribution. The connections server can then look at the overhead section of the transmitted DNP packet and forward the packet to appropriate destinations. Details on the routing algorithm in the connections server are discussed below.

[0047] Sensors, detectors and other measurement instruments detect and/or measure various physical phenomena (i.e. electric fields, electromagnetic radiation, temperature, pressure, etc.), and send this information to the lab server 112. The lab server 112 that has established network connection to the connections server 114 can then put the received information or its computed analysis into the instruction section of the DNP packet. This process can be repeated if more than one instruction is needed to be sent. Once all the instructions have been written in the instruction section of the DNP packet, the corresponding overhead sections can also be constructed. Once the DNP packet is complete, it can then be sent to the connections server 114.

[0048] Directing attention to FIG. 5, the lab server 112 can broadcast the raw data from physical processes 110 for calculating results based on computational analysis of the raw data. In some cases, data from the physical process 110 are analyzed for the purposes of scientific visualization, statistical analysis or data compression. For example, raw video data from the physical process are analyzed for both spatial and temporal redundancy. After performing a compression algorithm, the compressed format of the video data is written to the instruction section of the DNP packet. Video compression that is suitable for this application is described below. For the clients to receive a continuous update of information the entire process in FIG. 5 can be repeated on a periodic basis. The repetition period of this process can be adjusted according to a particular application. At step 502 the lab server 112 gets data from the physical process 110. Control may proceed to optional step 504, where the lab server 112 performs computational analysis. Control proceeds to step 506 where a look-up data type table is constructed. Control proceeds to step 508 where data is written in the instruction sections of the DNP packet. This may be part of an iterative loop where control returns to step 502. Control may also proceed from step 508 to step 510 where the DNP packet is written to the overhead section. Control continues to step 512 where the DNP packet is sent to the connections server 114.

[0049] Another function of the lab server 112 is to process clients' requests and generate associated responses. The lab server 112 can receive a DNP packet from the connections server 114 that contains the clients' requests for instructions. It is the responsibility of the lab server 112 to interpret these instructions, execute the commands and generate responses. This process is described in FIG. 6. Control begins at step 520 where the lab server 112 waits for the DNP packet to be received from the connections server 114. Proceeding to step 522, the overhead section of the DNP packet is read. Control continues to step 524, where one instruction in the instructions section of the DNP packet is read. Control proceeds to step 526, where the lab server 112 executes the request/instruction by calling equipment/instruction drivers. Control proceeds to step 528, where the lab server 112 writes response data in the instruction section of the DNP packet. From step 528, control may return to step 524 in an iterative loop according to the number of instructions; control may also proceed to step 530, where the DNP packet is written to the overhead section. Control proceeds to step 532, where a response DNP packet is sent to the connections server 114.

[0050] Execution of a client's requests may involve calling particular software drivers that send the commands to instruments via the associated computer interface such as GPIB, RS-232, USB, ethernet, etc. The request may also contain instructions for information management such as recording the client's request, storing collected values from instruments, and querying previously collected information. In the case of information management, the lab server 112 can interact directly with local or remote database servers through standard database drivers such as ODBC or JDCB.

[0051] Unlike the broadcasting functions that may continuously send DNP packets to clients, this function of the lab server 112 only generates responses when client requests are received. When the lab server 112 is implemented in a software program, this function may be run in a separate thread for parallel processing with other functions.

[0052] The connections server 114 can be run in the same computer where the lab server 112 resides. For additional reliability, in the preferred embodiment the connections server 114 may be executed in a separate computer. The connections server 114 may be implemented using object oriented, network-enable and multi-threaded software development environments such as JAVA or C++. Two of the main functions performed by the connections server 114 include: monitoring and maintaining reliable network connections with all active clients and lab servers; and routing DNP packets to appropriate destinations.

[0053] The connections server 114 maintains network connections with all the processes, namely: lab server 112, database server 120, and clients 118. A connection handler, which may be a class or object in object-oriented programming terminology, can perform readings from and writing to each of the connections. Each connection handler should be run in a separate thread for parallel processing. Once the connections server 114 accepts or establishes a connection, it can then pass the connection information (i.e. the socket information that contains remote post address and remote port number) to the connection handler for further processing. The connections server 114 maintains an array or table of connection handlers, namely the connection table, to perform and monitor network related processes. A connection monitor is another important process included in the connections server 114 that runs on a periodic basis. The connection monitor may be implemented as a subclass of the connections server 114 and may be executed in a separate thread. A function of the connection monitor is to monitor and control the network communications of the processes (i.e. clients 118 and lab server 112) connected to the connections server.

[0054]FIG. 7 illustrates the basic operation of the connection monitor. Beginning at step 550, the connection monitor searches for clients in the connection table. Proceeding to decision step 552, if a client is found in the connection table, control proceeds to step 554 where the connection monitor checks the validity of the current session. This operation is normally done by consulting the database server 120 to check whether the current clients have access to the physical process 110. If a client is not found, control proceeds from decision step 552 to 556, where the connection monitor instructs all connection handlers to close their connections. Returning to step 554, control proceeds to decision step 558. If the session is valid, control proceeds to step 560; otherwise control returns to step 556. At step 560, the connection monitor searches for a lab server 112 in the connection table. Control proceeds to decision step 562, where, if a lab server is found, the program terminates. Otherwise, control proceeds to step 564, where the connection monitor establishes a connection with a lab server 112. As shown in FIG. 7, the operation of checking whether a lab server 112 is connected is performed in a loop, since there may be more than one lab server 112 contacted for backup purposes. If a failure in the system or device at the physical process 110 occurs, the lab server 112 that is physically connected to the physical process 110 would refuse any connection requests from the connection server. Thus, the connection monitor attempts to establish connection with another lab server 112. The entire operation in FIG. 7 should be performed periodically to continuously monitor the communication process.

[0055] The connections server serves as the distributor of data that accepts, verifies and routs DNP packets to appropriate destinations. The connections server supports full duplex point-to-point and point-to-multipoints data transmissions based on the destination ID field of the DNP packet. As a result, both clients 118 and lab server 112 processes may synchronously receive events that are generated by any processes. FIG. 8 displays several routing modes that may be performed by the connections server. FIG. 8 is an example case of three clients and a lab server connected to the connections server. The maximum number of clients that may be served varies according to the available network bandwidth.

[0056] As discussed above, the connection handler is part of the connections server and may perform reading from and writing to each connection. The connections server 114 listens to any connection request, and passes the network information to the connection handler once a valid connection is established. FIG. 9 shows the flow diagram of the connection handler. Beginning at step 600, the connection handler receives network information from an accepted connection from the connections server. Control proceeds to step 602, where the connection handler checks to see if the connection is valid. If the connection is not valid (decision step 604), control proceeds to step 606, where the connection handler closes the connection and control terminates. However, if the connection is valid, control proceeds to step 608, where the connection handler waits and listens for incoming DNP packets for a certain time-out period. From step 608, control proceeds to decision step 610. At decision step 610, if a DNP packet is received before the time-out, control proceeds to step 612, where the overhead section of the DNP packet is read. However, if a DNP packet is not received before the time-out, control returns to step 602. From step 612, control proceeds to step 614, where again the connection handler attempts to validate the connection. If the connection is not valid (decision step 616), control returns to step 606. However, if the connection is valid, control proceeds to step 618, where the rest of the DNP packet is read according to its packet length. Control then proceeds to step 620, where connection handlers in the connection table are found based on the destination ID in the DNP overhead section. Control then proceeds to step 622, where all DNP packets are sent to all destinations via the connection handlers found in the connection table. From step 622 control returns to step 602. The operations described above are repeated until the connection is no longer valid.

[0057] Client processes provide a graphical user interface for the end users of the physical process 110. The clients may be implemented in any object-oriented and network-enabled software development environment such as C++ or JAVA. The client should contain graphical components that may be used for getting user inputs and/or display information. Some of the components may include dials, graphs, switches, LED displays, buttons, etc.

[0058] The client process 118 may be executed from any computer that is connected to a TCP/IP network such as the internet. When the client process is run, it will first attempt to establish network connections to the connections server 114. User requests/commands that are received from the UI components are encoded into DNP packets to be sent to the connections server 114. The client 118 may also process DNP packets from other remote clients and lab servers 112 that are received via the connections server 114. This operation may also be executed in a separate thread for parallel processing.

[0059]FIG. 10 is a flow diagram of a client DNP packet processing. The client process 118 normally executes the instructions in a DNP packet by calling functions or methods of its U1 components. The instructions may involve updating the graph display, turning a dial, decoding and displaying video data, etc. By receiving live events from physical processes 110 and other client processes, the user may experience an interactive and collaborative environment in controlling remote physical processes. Beginning at step 624, the client waits for DNP packets from the connections server 114. Control then proceeds to step 626, where the DNP packet's overhead section is read. Control then proceeds to step 628, where one instruction in the instruction section of the DNP packet is read. Control then proceeds to step 629, where the request/instruction is executed by calling the functions of the user interface components. From step 629, control may return to step 628 in a loop that repeats according to the number of instructions.

[0060] The database server 120 manages a database containing information that is essential to the operation of other processes. The remote operation of the database server 120 can be facilitated using database application programming interface standards such as ODDC or JDDC. The database server 120 manages the following list of information: user information, user physical process data, scheduling information, and event data.

[0061] The database server 120 manages user profiles. A user profile contains user accessed information such as log-in name and password that enables the connections server 114 to verify connection requests from the clients 118. In addition, the user profile also includes the client's progress information by tracking the status of accomplished actions/requests. Data from the physical processes 118 (i.e. sensor readings, states of equipment, etc.) may also be recorded on behalf of a client's request. This data be time stamped and may be made available to the user via an interactive “laboratory notebook” user interface. Using a common gateway interface (CGI) or JAVA servlet program that may interact with the database server 120, clients may search and retrieve previously recorded physical process data. The search may be based on chronological order, keyword, or other characteristics of the recorded data. Scheduling information ensures that only the appropriate clients are given access to the physical processes 110 in a certain time period. Every event received by the lab server may also be automatically recorded. This data may be used to analyze clients' behavior and usage patterns in controlling the physical process 110. The interactive laboratory notebook may also contain lab parameters, “to do” lists, and personal notes.

[0062] The interactive laboratory notebook is part of a user interface that may be constructed using Interface Builder or similar software application, and may be accessed by users during the course of an experiment. The interactive laboratory notebook may be implemented to include a database stored on a hard disk or other nonvolatile memory of computer 60, as well as a user interface to access the database. Where the present invention is utilized for distance learning, the interactive laboratory notebook provides a central repository for information and is an essential tool for instructors to evaluate the progress and performance of students using the online laboratory.

[0063] The user interface may include animated switches, dials, buttons, and LED displays rather than traditional browser forms. Online graphing of the real time data along with other customized user interface components allows users to experience a hands-on look and feel. The user interface may closely resemble the front panels of the actual instruments in functionality, layout, and appearance. The live video stream may also be included in the user interface.

[0064] Real Time Video Observation

[0065] Observing physical processes in real time via the internet is a key feature of the present invention. Returning to FIG. 1B, video camera 70 is used to acquire live images from a system that the user interacts with and whose actions affect the observed video. Video capture (or frame grabber) hardware 72 is used on a computer to capture images desired to be sent to the user with minimum latency. A video server computer 74 compresses new image data and forms packets to be transmitted to the user (client) through the computer network 50. The client, using a standard browser, is able to view the live video and interact with the system. In order to transmit video via the internet in real time, spatial and temporal compression is performed. In spatial compression, the acquired image from frame grabber 72 is represented as gray-scale or as a color image in terms of hue, saturation, and value (HSV). In both cases values are represented as integers. The image data is divided into square blocks (8×8 pixels or 16×16 pixels, for example). A two-dimensional discrete cosine transform (a standard mathematical operation often abbreviated as DCT) is performed on each block.

[0066] To perform temporal compression, the server 74 subtracts the ideal DCT data from the DCT data that the client currently holds. This difference in DCT data is the information that the client must receive in order to allow its video to be updated to the desired image. This compression uses a single new frame to calculate data to be sent. This sacrifices compression efficiency (i.e. that obtained using the MPEG4 standard) in order to minimize latency. An approximation to this difference is calculated which meets the requirements of the specified fixed packet size (specified in bits). By basing compression on a specified packet size, compressed video matches transmission limitations of the client 110. The data rate (PACKET_SIZE * PACKETS_PER_SECOND) that is used for a particular client is dynamically determined and updated as video is sent. This allows the quality of video that is sent to a client to vary according to the abilities of each client's internet connection. This also allows the data rate to vary in response to changes in a client's allowable data rate. By having the client intermittently inform the server of the times that it received transmitted packets, the latency and allowable data rate of the client may be calculated.

[0067]FIG. 11 shows the two-dimensional set of DCT components. Component 0 is in the upper left corner, and the path of the arrow shows the order that each component is enumerated. DCT components are transmitted in groups of components (i.e. eight groups of eight components). Not all groups of DCT components are transmitted in a single packet. Groups of “difference in DCT data” are chosen to be sent based on the magnitude of the components in the group. In eight SV images, the eye is more sensitive to differences in value than to differences in hue or saturation. Thus a relative weight is used in comparing the magnitudes of groups or of a different type. Data is transmitted with rounding in order to use fewer bits to transmit an approximation of the data. The video compression system has been optimized to minimize response time (latency). This priority is unique for a system that depends on the user promptly receiving video feedback in response to his actions.

[0068]FIG. 12 illustrates the encoding process performed by the server 74. Beginning at step 630, the current DCT data for the client is initialized to zero. Control proceeds to step 632, where, if this is the first packet being transmitted, then initialization information is placed at the beginning of the packet. This initialization information includes: width of display, height of display and type of display (gray-scale or HSV). Control proceeds to step 634, where an image is acquired using video camera 70 and frame grabber 72. At step 636, image data is divided into square blocks (8×8 pixels or 16×16 pixels). At step 638 a two-dimensional discrete cosine transform is performed on each block. This produces the ideal DCT data which corresponds to an image with minimal error. At step 640, the difference between ideal DCT data and the DCT data that the client is currently using is calculated. This produces “difference in DCT data”. At step 642 groups of “difference in DCT data” are chosen to be sent based on the magnitude of the components in the group. In HSV images, the eye is more sensitive to differences in value than to differences in hue or saturation. Thus a relative weight is used in comparing the magnitudes of groups that are of a different type. At step 644 an approximation to the data in these groups is stored in a packet which is then transmitted over the network through a socket connection with the client. /Control proceeds to step 648, where the “approximated difference in DCT data” that the client will decode is then calculated by the server 74. At step 650, this difference is then added to the client's DCT data that the server 74 keeps a record of. By keeping track of the client's current data, the error caused by approximation does not propagate as multiple transmissions are sent. Control may then return to step 632 in order to produce another packet to be sent to the client:

[0069]FIG. 13 illustrates the structure of the decoding process performed by the client. Beginning at step 652, the current DCT data is initialized to zero. At step 654 a socket connection is used to receive a packet from the server 74. At step 656, if this is the first packet received, initialization information is processed. This initialization information includes: width of display, height of display and type of display (gray-scale or HSV). At step 658, the packet is decoded to produce the approximated difference in DCT data. At step 660, by adding this difference back to the current DCT data, the updated value for the current DCT data is determined. Control proceeds to step 662, where the inverse discrete cosine transform is then used to convert DCT data into image data. This transformation is only performed on blocks that have been modified by the approximated difference in DCT data. This allows the image data to be updated with no buffering, and thus the delay in updating the image is minimized. Control proceeds to step 664, where the image date is displayed to the user through a standard browser. Control may then return to step 654 in order to process an additional updated image sent from the server 74.

[0070] The instructions described above as well as the user interface and interactive laboratory notebook may be implemented in software and stored in the computer 60 and executed in accordance with the preferred embodiment of the present invention.

[0071] While the description above explains the operation of a laser and optical equipment, it is to be understood that a wide variety of physical processes may be performed using the present invention, and other forms of data may be recorded such as time, temperature, voltage, current, magnetic field, electromagnetic radiation, and the like. Additional applications of the present invention may extend to entertainment, for example the remote control of toys in an interactive setting, where multiple users may access computer 60 via the computer network 50 and play games involving multiple users. The real time video taught by the present invention is an integral part of such an application.

[0072] In other applications of the present invention, computer 60 and camera 70 may be utilized as a sales or development tool to demonstrate equipment or processes to prospective clients, customers, or developers by providing a demonstration of the equipment or processes in real time and eliminating the expenditure of resources required to travel to a location where the equipment or processes are located.

[0073] In embodiments of the present invention where video recording is to be performed in accordance with the present invention, two types of equipment are needed to record audio and video signals transmitted from a programming source: a tuning device capable of tuning/separating television channel among designated frequency bands, and a recording device capable of storing analog video/audio signal on recording media such as magnetic tapes, magnetic disks or optical disks. Many recording devices such as VCRs are equipped with built-in television tuners. In this case, the process of recording television programs can be accomplished by manipulating a single piece of equipment. For recording devices that do not have built-in television tuners, broadcast television signal must be processed by tuning a particular television channel and converting such channel into video and audio signal prior to recording. In this case, the process of recording television programs can be accomplished by manipulating both television receiver 1010 and recording device 1012. Most television receivers are equipped with a built-in tuner, however in some cases a set-top box 1014 such as cable box or satellite receiver is used instead of a conventional tuner not only to tune television channels but also to decode paid programs such as premium channels, pay-perview channels, etc. Programming is broadcast by a programming provider 1028.

[0074] TV receiver 1010, recording device 1012 and set-top box 1014 are often equipped with infrared sensors that allow remote control from infrared transmitting devices operated within effective distance. Most remote control units emit infrared signal with a certain modulation method and carrier frequency to transmit digital commands for operating such devices. The methods used to demodulate such infrared signals vary by manufacturer. Many equipment manufacturers use conventional digital modulation methods such as on-off shift keying, pulse length modulation, etc. with carrier frequencies ranging from 20-60 kHz. By using a diode detector, such signals can be learned and stored in a conventional memory. Video/audio recording equipment is controlled by transmitting a sequence of stored commands using infrared emitting diode 1016 in the remote control unit 1018. FIG. 15 shows the preferred embodiment of remote control unit used in the present invention. The remote control unit 18 is connected to a computer 1020 via standard I/O connection 1022 such as RS-232, USB, etc. Computer 1020 is a conventional computer such as a workstation, desktop or laptop personal computer, or personal digital assistant (PDA), which includes a microprocessor and supporting circuitry, memory, and communications circuitry. Remote control unit 1018 includes a microprocessor 1024 and circuitry to control infrared diode 1016 to emit infrared commands that are stored in memory 1026. The microprocessor can control the transmission of such commands to emulate a particular sequence of commands to record TV programs that is conventionally performed by users operating the recording equipment 1012. Using the computer connection 1022, the microprocessor 1024 also executes the process of downloading information pertaining to user selections to be recorded. Such information may include start time, end time and channel number of selected television programs can be stored in memory 1026. Furthermore, the remote control unit may contain an internal clock 1030. Microprocessor 1024 can monitor and check the selected television programs stored in memory 1026 with the clock 1030 to start and stop the recording process.

[0075] In an alternative embodiment of the remote control unit 1018, the clock 1030 and/or memory 1026 can be excluded. In this case, the transmission of infrared signal from remote control unit 1018 is controlled using microprocessor, memory and clock of computer 1020. In this alternative embodiment the remote control unit 1018 and computer 1020 stay connected during the process of recording television programs.

[0076] In another alternative embodiment of the present invention, means for controlling the recording device 1012 and accessing an online-based application service provider 1032 can be built internal to the recording device 1012. In this case, recording device 1012 incorporates microprocessor 1024, memory 1026, clock 1030, modem 1034 and client software 1038 can be controlled through electronics means without any external device such as the remote control unit and computer.

[0077] Computer 1020 can include an application program such as Client Software 1038 executed by computer 1020 to receive user-selected TV scheduling information from the Application Service Provider 1032 and transmit such information to remote control unit 1018. As shown in FIG. 1, Computer 1020 is connected to a computer network 1040 such as a wide area network or public, global network such as the Internet. Computer 1020 also includes a modem or network interface unit to facilitate communication via network 1040. During start-up, Client Software 1038 establishes an IP (Internet Protocol) based network connection to the Control Server 1042 located at the Application Service Provider 1032 site. It is recommended that Transmission Control Protocol (TCP) is used to implement such a network connection due to its reliability and connection-based properties. During initialization of the network connection, the Client Software also transmits authentication information such as user id and/or password to allow the Control Server 1042 to identify and verify the designated user account stored in the database 1044. Once the Control Server 1042 has authenticated and verified the connection request, it checks the user account in the database 1044 for the selected TV programs to be transmitted to the Client Software 1038. Control Server 1042 may indicate the state of network connection to the Client Software 1038 or record the status in the database 1044. The Information Server 1050 can receive new television information updates over the Internet. The Information Server 1050 searches the database 44 to find an appropriate Control Server 1042 that maintains a valid connection with a Client Software 38, and instructs the Control Server 1042 to transmit such information to the Client Software 38. After the initialization of the network connection, the Client Software 38 waits for information updates of user selections transmitted by the Control Server 1042. Whenever the information updates are received from the Control Server 1042, the Client Software 38 transmits such information to the remote control unit 18 to be stored in the memory 26. Once the selected television programs are stored in the memory 26 of the remote control unit 18, the microprocessor 24 then compares the selected television programs with the clock 30 to start and stop the recording process. A certain time delay may also be added before the start of the recording to skip preliminary section of the program. By connecting remote control unit 18 with a computer 20 that executes the Client Software 38, audio/video recording equipment can be operated from a wide area network such as the Internet.

[0078] In the case where there is no line of sight between the remote control unit and the recording equipment, such as the case where computer 20 and remote control device 18 are located in different rooms, communication between the remote control unit and a computer can be performed using radio frequency (RF) transmitter 21 and receiver 23, as shown in FIG. 3.

[0079] Commands in the form of digital information can be encoded and modulated using RF frequency, which in turn is received and decoded by an RF receiver to be passed to the remote control unit 18 for controlling the audio/video recording equipment. A physical connection between the controlling computer (Computer 2) to either remote control unit 18 (FIG. 1) or RF transmitter (FIG. 3) may be ta cilitated using standard computer I/O connection such as RS-232, USB, and the like.

[0080] Internet-Based Service Model

[0081] The goals of the service model of the present invention proposed system are to simplify the process of recording TV programs using existing audio/video recording equipment through an Internet-based user interface. Using standard web browser programs such as. Netscape Navigator or Microsoft Internet Explorer, users can browse, search and select television programs to be recorded. In turn, the system will automatically obtain information about the selected television programs (such as start times, end times and channel numbers), and send such information to the remote control unit 18 that operates the audio/video recording equipment.

[0082] Another goal of the service model of the present invention is to provide global access to audio/video equipment. Users can operate audio/video equipment from virtually anywhere through the Internet.

[0083] Yet another goal of the service model is to guide users in selecting TV programs by providing suggestions based on analysis of user preferences and viewing history.

[0084] In the preferred embodiment of the invention as shown in FIG. 1, a user operates computer 36 to access the Internet-based Application service provider 32. Computer 36 is a device that has a central processing unit, memory and communication means to access a wide area network such as the Internet. Computer 36 can be in the form of desktop, lap top or palm top devices that have the appropriate web browser software 48 installed in their memories. For widest access and compatibility, it is recommended that both Computer 36 and Information Server 1050 use a standard and widely adopted network protocol such as TCP/IP. In the preferred embodiment, the HTTP protocol is chosen to facilitate network communication between Computer 36 and information Server 1050. In the preferred embodiment, Information Server 1050 is an HTTP compliant server and Computer 36 is a conventional computer with a standard web-browser software such as Netscape Navigator or Microsoft Internet Explorer. Although Computer 36 and Computer 20 are two separate computers 20, 36 as shown in FIG. 1, it is important to realize that the two functions served by Computers 20,36 can be accomplished by a single computer having same components as both Computer 20, 36. The embodiment in FIG. 14 highlights the feature in which the recording equipment can be globally accessed and controlled over the Internet.

[0085] Database 44 is connected to the Information Server 1050, facilitated by workstation or Local Area Network at the Application Service Provider 32 site. The database 44 may serve as a data center to manage information regarding user accounts, television schedule information, and operation of the system. New users are required to register with the Application Service Provider 32. Using HTML forms, a user from Computer 36 can submit registration data to be processed by the Information Server 1050. Information provided by the user for proper operation of recording equipments includes the authentication information, equipment and connectivity identification, and programming source. Other information about the user such as email, telephone and/or fax may also be stored in the user account, hence the user may receive information such as selected television programs, reminders and other information regarding television program recordings via email, telephone and/or fax.

[0086] Upon receiving the above registration information from a user, the Information Server 1050 stores the registration information in the database 44 on behalf of the user in her/his individual user account. Once the registration process is complete, the user then selects television programs to be recorded. The Information Server 1050 serves HTML pages containing textual and graphical information regarding TV programming schedules stored in the database 44. To serve the HTML-pages, the Information Server 1050 executes computer programs in the forms of Java Servlet or Common Gateway Interface (CGI) to search the database and display television programming schedules. A user can view and select television programming schedules that are displayed based on her/his preferences such as: viewing dates, topics, actors, show genres, reviews, etc. The Information Server 1050 formats the retrieved television information into HTML pages that allow users to select TV programs to be recorded. The television schedule information may be displayed in spreadsheet forms having the axes time versus channels. For devices that only have a single television tuner, a spreadsheet user interface may be used in the following applications.

[0087] Whenever a user select a valid or non-conflicting television program, the interface disables the selection options for all conflicting television programs that are broadcast during the same time period. This method forces the user to deselect the current selection in order to select another program in the same scheduled time period. Whenever a user select a television program, the interface deselects all selected television programs that have conflicting viewing schedules.

[0088] Once the user submits his/her television program selections to the Information Server 1050, the information is stored in her/his account in the database 44. Also stored in his/her account is information regarding the status of network connection between the Client Software 38 and Control Server 1042. Whenever a Client Software 38 establishes or terminates network connection with the Control Server 1042, the events are noted in the user account to track the status of the network connection. Upon receiving the user selections, Information Server 1050 accesses the user-account to check whether a valid network connection has been established between the Client Software 38 and Control Server 1042. If a valid connection is found, the Information Server 1050 notifies the appropriate Control Server 1042 via Local Area Network that new user selections have been received and stored in the database 44 on behalf of the user. Upon receiving the notification from the Information Server 1050, the Control Server 1042 may also access the database 44 via Local Area Network to retrieve user-selected television information that has not been transmitted to Client Software 38. The Control Server 1042 then formats the retrieved information and transmits it to Client Software 38. Upon receiving the user selections, the Client Software 38 sends them to the remote control unit 18 and updates the television recording schedule information in the memory 26. Once the user selections are stored in the memory 26 of the remote control unit 18, the microprocessor 24 can then compare the selected television programs with the clock 30 to start and stop the recording process.

[0089] In the preferred embodiment, Control Server 1042 is an application program executed in a conventional computer that is capable of establishing network communication with other computers using standard network protocol such as the Internet Protocol (IP). Client Software 38 executed in Computer 20 as shown in FIG. 14 can establish a persistent network connection with the Control Server 1042 through TCP-IP protocol. The Control Server 1042 is connected to the database 44 to retrieve user-selected TV program scheduling information. In the proposed system, there are at least two ways for the Control Server 1042 to initiate the process of retrieving from the database 44 the user-selected television program information and sending the information to Client Software 38.

[0090] Initiation may be based on notification from the Information Server 1050. When Information Server 1050 obtains user-specified television scheduling information to be recorded, it notifies the Control Server 1042. In turn, if network communication has been established between the Control Server 1042 and Client Software 1038, the Control Server 1042 retrieves the user selections and sends them to the Client Software 1038.

[0091] Alternatively, initiation may be based on notification from Client Software 1038. The Client Software 1038 notifies the Control Server 1042 to transmit user selections for recording. This notification would normally be sent when the Client Software 1038 initially establishes network connection with the Control Server 1042. The Control Server 1042 then retrieves user selections and sends them to Client Software 1038.

[0092] Information indicating user selections is stored in the database 1044. Such information can convey user preferences, useful in providing targeted advertising, rating of television programs, providing television program guides, suggestions, etc.

[0093] Directing attention to FIG. 4, in an alternative embodiment, service provider 1060 can maintain recording equipment at various physical locations 1062-1, 1062-2, 1062-n, where n can be any number. Users can contact the service provider 1060's website and select programs for recording at the various physical locations 1062. Operating the recording equipment at the locations 1062 as explained above, the service provider can provide localized recordings to its users, either by transmitting audio and video over the computer network 1040 to computers 1036, 1020, or sending the user a copy of the recording on a portable storage medium such as optical or magnetic storage.

[0094] While an apparatus, method, and service model for the remote control of recording devices via a computer network have been described in preferred embodiments, those of ordinary skill in the art will understand that many modifications maybe made thereto without changing the scope of the claims that follow. Accordingly, it is not intended that the scope of the invention in any way be limited by the above description, but instead be determined by reference to the claims that follow. 

What is claimed is:
 1. An apparatus to remotely operate recording equipment to record television programs using a public wide area network such as the Internet comprising: (a) recording equipment, said recording equipment including a controlling means for directing the recording of television programs; (b) means for storing data associated with control signals; (c) means for receiving information associated with programs selected by a user; for recording, said information transmitted over a computer network; and (d) means for transmitting said data associated with control signals over said computer network said recording equipment. 